{config_load file=$settings.language_file section="manage_postings"}
{if $no_authorisation}
<p class="caution">{$smarty.config.$no_authorisation}</p>
{else}
{assign var='input_days' value='<input type="text" name="days" value="" size="5" />'}
<h1>{#manage_postings_hl#}</h1>
<form action="index.php" method="post">
<div style="margin-top:30px;">
<input type="hidden" name="mode" value="posting" />
{if $admin}
<p>{#lock_all_threads#} <input type="submit" name="lock_all_threads_submit" value="{#submit_button_ok#}" /></p>
<p>{#unlock_all_threads#} <input type="submit" name="unlock_all_threads_submit" value="{#submit_button_ok#}" /></p>
<p>{$smarty.config.lock_old_threads|replace:"[days]":$input_days} <input type="submit" name="lock_old_threads_submit" value="{#submit_button_ok#}" /></p>
{/if}
<p></p>
<p>{#move_thread#}</p>
<p>			<tr>
				<TD>
					Message#:
					<input type=text name="move_posting" size=8 maxlength=20 value="">
					<input type="hidden" name="mode" value="posting">
					<input type="hidden" name="back" value="entry">
				</TD>
				<th><label for="moveto">{#moveto_category#}</label></th>
				<td>
					<select class="kat" id="moveto" size="1" name="moveto"  title="{#category_title#}">
					{foreach key=key item=val from=$categories}
					{if $key!=0}<option value="{$key}"{if $key==$category} selected="selected"{/if}>{$val}</option>{/if}
					{/foreach}
					</select>
				</td>
			</tr>
			<tr>
 <input type="submit" name="move_threads_submit" value="{#submit_button_ok#}" /></tr>
 </p>
			

<p></p>
<p>{#comment_posting#}</p>
<p>			<tr>
				<TD>
					Message#:
					<input type=text name="comment_posting" size=8 maxlength=20 value="">
					<input type="hidden" name="mode" value="posting">
					<input type="hidden" name="back" value="entry">
				</TD>
				<th><label for="comment">{#add_comment_posting#}</label></th>
				<td>
					<input type=text name="comment" size=20 maxlength=50 value="">
				</td>
			</tr>
			<tr>
 <input type="submit" name="comment_posting_submit" value="{#submit_button_ok#}" /></tr>
 </p>
			


</div>
</form>
{/if}
